CMY Color Structure
TheCMYColor
structure contains cyan, magenta, and yellow colors. Your application can use aCMYColor
structure to specify a color in aPMColor
structure (page 2-15). For example, your application supplies aPMColor
structure in a color picker parameter block (page 2-20) that it passes to thePickColor
function (page 2-35). CMY and RGB colors are complementary.
struct CMYColor { SmallFract cyan; /* cyan component */ SmallFract magenta;/* magenta component */ SmallFract yellow;/* yellow component */ }; typedef struct CMYColor CMYColor;
Field Description
cyan
- The
SmallFract
value (page 2-33) for the cyan component.magenta
- The
SmallFract
value for the magenta component.yellow
- The
SmallFract
value for the yellow component.